<% if item.organization? %>
  <%= render 'team', item: item, hit: hit %>
<% else %>

<div class="result user media">
  <div class="media">
    <div class="mr-3 avatar media-left">
      <div class='image'><%= user_avatar_tag(item, :md) %></div>
    </div>
    <div class="media-body">
      <div class="info">
        <%= link_to item.fullname, item %>
        <span class="level"><%= user_level_tag(item) %></span>
      </div>
      <div class="info number">
        <span title="Created At"><%= item.created_at.to_date %></span>
        <% if item.location.present? %> • <span title="Location"><%= location_name_tag(item.location) %></span><% end %>
        •
        <span><%= item.topics_count %></span> Topics • <span><%= item.replies_count %></span> Replies
      </div>
    </div>
  </div>
</div>
<% end %>